package com.cloud.common.auth.pojo;

import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;

import java.util.Collection;

/**
 * @Description:
 * @author: lwg
 * @createTime: 2019年10月05日 18:55:00
 */
public class UserJwt extends User {
    private String id;
    public UserJwt(String username, String password, Collection<? extends GrantedAuthority> authorities) {
        super(username, password, authorities);
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }

}
